<!-- 页脚导航 -->
<template>
  <div class="footer-nav">
    <!-- 导航区 -->
    <el-row class="first" type="flex" justify="center">
      <el-row class="middle-content" type="flex" align="middle">
        <el-col :span="7">
          <el-row type="flex">
            <div class="line"></div>
            <div class="contact-info">
              <span>全国免费咨询热线</span>
              <span class="phone">400-0000-000</span>
              <span class="website">www.baidu.com</span>
              <span>工作日：9:00 - 17:00</span>
            </div>
          </el-row>
          <img src="../../assets/img/icon_map.png" alt />
        </el-col>
        <el-col :span="12" @click.native="navClick">
          <el-row>
            <el-col :span="8">网站首页</el-col>
            <el-col :span="8">资产交易</el-col>
            <el-col :span="8">信息披露</el-col>
          </el-row>
          <el-row>
            <el-col :span="8">会员服务</el-col>
            <el-col :span="8">政策法规</el-col>
            <el-col :span="8">关于我们</el-col>
          </el-row>
        </el-col>
        <el-col :span="5">
          <img src alt />
        </el-col>
      </el-row>
    </el-row>
    <!-- 基础信息 -->
    <el-row class="second" type="flex" justify="center">
      <el-col class="middle-content" type="flex" align="middle" justify="center">
        宜春联合信用资产交易中心 | 电话: 0000-6660660 | 传真: 0000-6666525 | 邮箱: 123@168.combr
        <br />Copyright@ 2017 宜春联合信用资产交易中心有限公司 版权所有 备案/许可证号: 黑ICP备15007119号
      </el-col>
    </el-row>
  </div>
</template>


<script>
let navList = [
  ['网站首页','资产交易','信息披露','会员服务','政策法规','关于我们'],
  ['index','propsTrade','info','vip','law','about']
]

export default {
  components: {},
  props: {},
  data() {
    return {}
  },
  computed: {},
  watch: {},
  methods: {
    navClick(e) {
      let index = navList[0].indexOf(e.target.innerText)
      if (index !== -1) {
        this.herfto(navList[1][index])
      }
    },
    herfto(name) {
      this.$router.push(`/${name}`)
    }
  },
  created() {},
  mounted() {}
}
</script>


<style lang='less' scoped>
.second {
  background: #112f7c;
  .middle-content {
    padding: 24px 0;
    color: #fff;
    font-size: 12px;
    line-height: 24px;
  }
}

.first > .middle-content {
  padding: 48px 0;
  color: rgba(255, 255, 255, 0.78);

  > .el-col:first-child {
    position: relative;
    img {
      position: absolute;
      top: -10px;
      left: 110px;
    }
  }
  > .el-col:nth-child(2) {
    text-align: center;
    line-height: 32px;
    > .el-row:first-child {
      padding-bottom: 32px;
    }
  }
  > .el-col:last-child {
    display: flex;
    justify-content: flex-end;
    img {
      width: 168px;
      height: 168px;
    }
  }

  .line {
    width: 4px;
    height: 100px;
    background: #ffffff;
    margin-right: 30px;
  }
  .contact-info {
    display: flex;
    flex-direction: column;
    font-size: 16px;
    line-height: 16px;
    .phone {
      font-size: 36px;
      line-height: 36px;
      color: #ffffff;
      padding: 9px 0 32px 0;
    }
    .website {
      padding-bottom: 20px;
    }
  }
}
.footer-nav {
  background: #163ea0;
}
</style>